/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ui.gui.actions;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JFrame;
import ui.WindowManager;

/**
 *
 * @author stephane
 */
public class ShowWorkspace extends AbstractAction {
    private static final long serialVersionUID = 1L;
    
    public ShowWorkspace(JFrame parent)
    {
        super("Show Workspace Explorer", new javax.swing.ImageIcon(ShowWorkspace.class.getResource("/resources/workspaceIcon.png")));
        putValue(SHORT_DESCRIPTION, "Display workspace explorer window"); 
    }
    
    @Override
    public void actionPerformed(ActionEvent e) {
       WindowManager.getInstance().showWorkspaceExplorer();
    }
}
